package net.wangds.iocomp;


import net.wangds.spring.utils.SpringUtils;
import junit.framework.TestCase;
import net.wangds.log.helper.LogHelper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest( classes={TestApplication.class})
public class ModCommonIoTestCase {

    public final static String DV = "dv";

    @Value("${config.info:"+DV+"}")
    private String baseInfo;

    @Test
    public void test(){

        TestCase.assertEquals(SpringUtils.getMessage("hello"), "您好");

        LogHelper.info(baseInfo);


    }

}
